package com.cs.domain.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

@AllArgsConstructor
@NoArgsConstructor
@Data
@Getter
@Setter
@TableName("`order`")
public class Order {

    @TableId(value = "order_id",type = IdType.AUTO)
    private Long id;

    @TableField("order_num")
    private String orderNum;

    @TableField("order_user_id")
    private Long userId;

    @TableField("oder_store_id")
    private Long storeId;

    @TableField("order_goods_id")
    private Long goodsId;

    @TableField("order_goods_num")
    private Long goodsNum;

    @TableField("order_coupon_id")
    private Long couponId;

    @TableField("order_original_price")
    private Double originalPrice;

    @TableField("order_paid_price")
    private Double paidPrice;

    @TableField("order_pay_type")
    private Long payType;

    @TableField("order_pay_state")
    private String orderState;

}
